<template>
  <div class="home">home</div>
</template>

<script>
// @ is an alias to /src
import { wxShare } from "@/utils/wx/common.js";
export default {
  name: "Home",
  async mounted() {
    wxShare({
      title: "nihao", // 分享标题
      desc: "wobuhao", // 分享描述
      link: window.location.href // 分享链接，该链接域名或路径必须与当前页面对应的公众号JS安全域名一致
    });
    // wxUtil.initConfigLoading && wxUtil.execute(["onMenuShareAppMessage","onMenuShareTimeline" , "showMenuItems"])
  }
};
</script>
